﻿using System;
using System.Collections.Generic;
using System.Text;

namespace RuyeeModbus
{
    public class ModbusTCPTransaction
    {
        //Guid iD;
        //public Guid ID
        //{
        //    get { return iD; }
        //    set { iD = value; }
        //}

        int transactionID;

        public int TransactionID
        {
            get { return transactionID; }
            set { transactionID = value; }
        }

        string name;
        public string Name
        {
            get { return name; }
            set { name = value; }
        }

        string content;
        public string Content
        {
            get { return content; }
            set { content = value; }
        }

        string serverIP;

        public string ServerIP
        {
            get { return serverIP; }
            set { serverIP = value; }
        }

        ModbusTCP_ADU requestADU;

        public ModbusTCP_ADU RequestADU
        {
            get { return requestADU; }
            set { requestADU = value; }
        }

        ModbusTCP_ADU responseADU;

        public ModbusTCP_ADU ResponseADU
        {
            get { return responseADU; }
            set { responseADU = value; }
        }


    }
}
